<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<title>ESB节点管理</title>
<link rel="stylesheet" type="text/css" href="../../../css/reset.css" />
<link rel="stylesheet" type="text/css" href="../../../css/css.css" />
<link rel="stylesheet" type="text/css"
	href="../../../js/jquery-easyui-1.4.3/themes/default/easyui.css" />
<link rel="stylesheet" type="text/css"
	href="../../../js/jquery-easyui-1.4.3/themes/icon.css" />
<link rel="stylesheet" type="text/css"
	href="../../../css/colorReset.css" />
<style type="text/css">
.popup_con {
	border: 1px solid #95B8E7;
	width: 380px;
	margin: 10px auto 0 auto;
}

.popup_con ul {
	margin: 10px auto;
	width: 380px;
	overflow: hidden;
}

.popup_con ul li {
	width: 340px;
	display: block;
	float: left;
	height: 25px;
	overflow: hidden;
	padding: 5px 0;
}

.popup_con ul li.li_col {
	width: 380px;
	height: auto;
}

.popup_con .label {
	width: 120px;
}
</style>

</head>



<body>
	<div class="main">

		<!-- 检索区域结束 -->
		<div class="data_con">
			<div id="toolbox" style="padding: 5px; height: 25px">
				<div style="margin-bottom: 5px; float: left">
					<a href="javascript:void(0)" onclick="onAdd()"
						class="easyui-linkbutton" id="toolbar_add" iconCls="icon-add"
						plain="true">新增</a> <a href="javascript:void(0)"
						onclick="onUpdate()" class="easyui-linkbutton" id="toolbar_modify"
						iconCls="icon-edit" plain="true">修改</a> <a
						href="javascript:void(0)" onclick="onDel()"
						class="easyui-linkbutton" id="toolbar_delete"
						iconCls="icon-remove" plain="true">刪除</a> <a
						href="javascript:void(0)" onclick="onReload()"
						class="easyui-linkbutton" id="toolbar_reload"
						iconCls="icon-reload" plain="true">刷新</a>
				</div>
			</div>

			<table id="datagrid" style="height: 345px"
				data-options="fitColumns:true,toolbar:'#toolbox'">
			</table>

		</div>
	</div>

	<div id="win" class="easyui-window" title="ESB节点管理-新增"
		style="width: 430px; height: auto; top: 20px"
		data-options="iconCls:'icon-save',modal:true,minimizable:false,maximizable:false,collapsible:false">
		<form id="addForm" method="post">
			<div class="popup_con">
				<ul>
					<li class="li_col"><label for="name" class="label">节点名称：</label>
						<div class="input_con">
							<input class="easyui-validatebox text" id="name"
								data-options="required:true,validType:'length[1,50]'"
								missingMessage="节点名称不能为空!" name="name" />
						</div></li>
					<li class="li_col"><label for="ipaddr" class="label">IP地址：</label>
						<div class="input_con">
							<input class="easyui-validatebox text" id="ipaddr"
								data-options="required:true,validType:'ip'"
								missingMessage="IP地址不能为空!" name="ipaddr" />
						</div></li>
					<li class="li_col"><label for="port" class="label">端口号：</label>
						<div class="input_con">
							<input class="easyui-validatebox text" id="port"
								data-options="required:true,validType:'port'"
								missingMessage="端口号不能为空!" invalidMessage="端口必须为1~6位数的整数！"
								name="port" />
						</div></li>
					<li class="li_col"><label for="remark" class="label">备注：</label>
						<div class="input_con">
							<input id="remark" class="easyui-validatebox text"
								data-options="validType:'maxLength[100]'" name="remark" />
						</div></li>
				</ul>
			</div>
		</form>

		<div id="buttons" class="button_con">
			<a href="javascript:void(0)" onclick="onSave()"
				class="easyui-linkbutton" id="instance_save" iconCls="icon-ok"
				plain="true">保存</a> <a href="javascript:void(0)" onclick="rePage()"
				class="easyui-linkbutton" id="instance_cancel" iconCls="icon-cancel"
				plain="true">取消</a>
		</div>

	</div>

	<script type="text/javascript" src="/webjars/json3/3.3.2/json3.min.js"></script>
	<script type="text/javascript"
		src="../../../js/jquery-easyui-1.4.3/jquery.min.js"></script>
	<script type="text/javascript"
		src="../../../js/jquery-easyui-1.4.3/jquery.easyui.min.js"></script>
	<script type="text/javascript"
		src="../../../js/jquery-easyui-1.4.3/locale/easyui-lang-zh_CN.js"></script>
	<script type="text/javascript" src="../../../js/cook/constants.js"></script>
	<script type="text/javascript" src="../../../js/cook/public.js"></script>
	<script type="text/javascript" src="../../../js/cook/FormValidate.js"></script>
	<script type="text/javascript"
		src="../../../js/cook/InterfaceMonitoring/NodeMonitoring/ClusterNodeManage.js"></script>
	<script type="text/javascript"></script>

</body>
</html>